home *** CD-ROM | disk | FTP | other *** search
- Instructions for using sequential functions to SpeedScript 3.X.
-
-
- SpeedScript 3.X and modified SpeedScript are essentially the same, with one
- exception! The modified version, in addition to SpeedScripts many fine
- features, has the ability to load and save sequential files, in either ASCII
- or PET ASCII formats. There was also a subroutine added to allow the loading
- and saving of pre-defined printer control files.
-
-
- Sequential filing.
-
-
- The use of sequential filing is as simple as using SpeedScript's load and
- save functions. To get into sequential filing mode, type a COMMODORE (C=) L
- for load and C= S for save. The first time through, a short by-line will
- appear, and will then be disabled for the rest of the duration SpeedScript is
- in use. After the banner, you will be asked for a code type, either ASCII or
- PET ASCII. This is one of those times where abort is not possible. 'A' or
- 'P' are the only valid responses, with all others being ignored. We will deal
- with loading first. When using the load function, you will be asked if you
- want to strip off the excess RETURNS. A 'Y' response will cause RETURNS at
- the end of sentences to be replaced with spaces. If there are two or more
- RETURNS back to back, the strip routine will leave them alone. So even though
- you may lose some line formatting, it's easier to put a few RETURNS in than to
- take a bunch out. A 'N' here will bypass the feature. The next query you will
- receive will be 'Load:'. Enter the file name, or return to abort. Then, as
- with SpeedScript, respond to the Tape or Disk prompt. Anything other than a
- correct response will abort here. If the file is found, it will be loaded and
- converted. Disk errors on load are noted in the command line, and control is
- returned to SpeedScript. Note that the Sequential filing code will
- automatically add the ',s,r' or ',s,w' whichever is appropriate when using the
- disk drive.
-
- If saving a file, in addition to the above prompts, you will be asked:
-
- Line Length (RETURN=as-is)?
-
- This is the editing command. If you want to leave the text as it appears on
- the screen, respond with a RETURN. This tells the code that no editing is
- required. Where this ability comes in handy, is when you are using the text
- file to be uploded to a bulletin board or other system that has a maximum
- acceptable line length. If you desire line editing you may respond with a
- number up to 255. Any three-digit number greater than that will result in
- erronious line lengths, and numbers with four or more digits simply are not
- accepted. In any case, line lengths will never be longer than the number you
- input. The results of this will be seen when the screen re-appears, as all
- returns inserted in the text will remain. If after saving a file the cursor
- does not appear after the screen returns, press the home key twice. Saving a
- sequential file messes with some of SpeedScript's pointers, and hitting the
- home key twice will restore them. If an error occurs on the disk during the
- writing process, the error will be noted in the command line as usual.
-
-
- Pre-definable printer control files.
-
-
- If you find it desirable to use multiple printer control files, they may
- be loaded and saved with COMMODORE (C=) R and (C=) W respectively. They are
- saved as PGM (program) files and although they are only 128 bytes, they take
- up 1 block on disk. If you only use one printer file all the time, simply
- define all your characters using the customizer program, and then save your
- new copy of SpeedScript. The full file is saved along with the program. As
- we are able, we will upload printer files along with definitions. One of the
- nice things about these new mods, is that you may now send macros, or control
- strings greater than one character in length to your printer with only one
- keystroke in your text. The keys are the trigger and end characters in the
- control string. As the mods are written, the trigger is a chr$(27) or escape.
- The end character is chr$(0). Both these characters may be re-defined to suit
- your purposes. The test for trigger resides at 10648, and the test for end of
- string code resides at 10655. But unless you have to send a chr$(0) as part
- of the control string, you shouldn't have to change that. The sequence is a
- follows;
-
- Print-keys are defined (either at the beginning of your document, or with a
- printer file) consecutively (ABCDE...etc. See the appendix in your computer
- owners manual on screen codes, under character set 2 for the exact order of
- definition). The start of a control string begins with a 27 (which is sent to
- the printer) and then the consecutive keys are read and sent until the 0 is
- reached (the 0 is not sent). If you use the above example, supposing A=27 and
- E=0, as the print function encountered the reverse video A in the text,
- control would have been transferred to the special function, and A (27) would
- have been sent, followed by B, C, and D. When it came to E, (0) control would
- be transferred back to the print routine. It sounds more difficult than it
- really is. Play with it a little, you'll find that if you have 3rd party
- interfaces or printers (such as EPSON) which require more than one character
- to activate special features, it will be a great feature to have!
-
-
- Other Comments.
-
-
- Loading a sequential file operates the same as SpeedScripts load in that
- it will permit appending of files. If you have two or more files to be added
- together, place the cursor at the point the new file should be added, and
- enter the sequential load function with a COMMODORE L, just as if you were
- loading a regular SpeedScript file. And load the file. It will erase any
- text after the cursor, and if the amount added is shorter than the original,
- the remainder will appear after the added file, although you will not be able
- to get to it.
-
-
-
- Any comments or questions? Write, call or Email me.
-
- Steve Hammer
- 115 1/2 W. 6th St.
- Muscatine, Ia. 52761
- (319) 263-2162
-
- Compuserve ID:74776,1570
-
-
- Questions about the customizer should be directed to:
-
- Gary Hills
- Compuserve ID:74776,411
- RR1 Box 476
- Wading River, NY 11792
- (516) 929-6176
-